<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>Dinic: Fichero Fuente apifiles/__bstrlib.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Dinic
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Documentacion de la API de DINIC para la cátedra de Matemática Discreta II.</div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Buscar" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generado por Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('____bstrlib_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Estructuras de Datos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funciones</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>&apos;typedefs&apos;</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>&apos;defines&apos;</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">__bstrlib.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="____bstrlib_8h.html">Ir a la documentación de este archivo.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#ifndef BSTRLIB_INCLUDE</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BSTRLIB_INCLUDE</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;stdarg.h&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &lt;string.h&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;limits.h&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &lt;ctype.h&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#if !defined (BSTRLIB_VSNP_OK) &amp;&amp; !defined (BSTRLIB_NOVSNP)</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor"></span><span class="preprocessor"># if defined (__TURBOC__) &amp;&amp; !defined (__BORLANDC__)</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#  define BSTRLIB_NOVSNP</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor"></span><span class="preprocessor"># endif</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#ab43a5702c6ca15d82b534df927b7ecc5">   34</a></span>&#160;<span class="preprocessor">#define BSTR_ERR (-1)</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#ae4fdf5a39e1c0a01a357f4dc0ef53365">   35</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BSTR_OK (0)</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#a3c6fb51cdc569b881c4940be5bb6788c">   36</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BSTR_BS_BUFF_LENGTH_GET (0)</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structtagbstring.html">tagbstring</a> * bstring;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="keyword">typedef</span> <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="structtagbstring.html">tagbstring</a> * const_bstring;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment">/* Copy functions */</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#ac1b0964712a711ab2e1be0ed1caeae49">   42</a></span>&#160;<span class="preprocessor">#define cstr2bstr bfromcstr</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor"></span><span class="keyword">extern</span> bstring <a class="code" href="____bstrlib_8c.html#a323bad8fd30b7b8c3fd2ec17f26935d2">bfromcstr</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> * str);</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="keyword">extern</span> bstring <a class="code" href="____bstrlib_8c.html#ab505e4ece683c289cc40bc271a7c7819">bfromcstralloc</a> (<span class="keywordtype">int</span> <a class="code" href="structtagbstring.html#a9c4822dec37f1e532c6a73ddf66866d2">mlen</a>, <span class="keyword">const</span> <span class="keywordtype">char</span> * str);</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keyword">extern</span> bstring <a class="code" href="____bstrlib_8c.html#a5cc74ee2cb8a63b665ad2fc6ff40cedb">blk2bstr</a> (<span class="keyword">const</span> <span class="keywordtype">void</span> * blk, <span class="keywordtype">int</span> len);</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">char</span> * <a class="code" href="____bstrlib_8c.html#ac6ee5c5fe4e1512cb74f37a51d9382f6">bstr2cstr</a> (const_bstring s, <span class="keywordtype">char</span> z);</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#aaefe0f9aede448c15b01d882ca977de5">bcstrfree</a> (<span class="keywordtype">char</span> * s);</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="keyword">extern</span> bstring <a class="code" href="____bstrlib_8c.html#ae5391e339f3f691d5bf8d37a4a71b74d">bstrcpy</a> (const_bstring b1);</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#ad5308b535bf446078d2c51f7f1d4f755">bassign</a> (bstring a, const_bstring b);</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a1639f09e544d664a0ed0ad266d92afd4">bassignmidstr</a> (bstring a, const_bstring b, <span class="keywordtype">int</span> left, <span class="keywordtype">int</span> len);</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a0b113d975a350dafde41677492efad13">bassigncstr</a> (bstring a, <span class="keyword">const</span> <span class="keywordtype">char</span> * str);</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#aaa60afbe75d06825b7560551093e0e2c">bassignblk</a> (bstring a, <span class="keyword">const</span> <span class="keywordtype">void</span> * s, <span class="keywordtype">int</span> len);</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="comment">/* Destroy function */</span></div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#abebe200396d233cc3b732677e17f1087">bdestroy</a> (bstring b);</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="comment">/* Space allocation hinting functions */</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a71ca3b83ad803d719de83b9b95079da5">balloc</a> (bstring s, <span class="keywordtype">int</span> len);</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#aa3215129c26370469f86aa38c5916377">ballocmin</a> (bstring b, <span class="keywordtype">int</span> len);</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="comment">/* Substring extraction */</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="keyword">extern</span> bstring <a class="code" href="____bstrlib_8c.html#a88ae85f2a331e1ffc893c897e0af90c5">bmidstr</a> (const_bstring b, <span class="keywordtype">int</span> left, <span class="keywordtype">int</span> len);</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="comment">/* Various standard manipulations */</span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a4bb4f276df0187508359004c911ca47b">bconcat</a> (bstring b0, const_bstring b1);</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#ab21dd77c743df60a682a720a8b981f24">bconchar</a> (bstring b0, <span class="keywordtype">char</span> c);</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#aa0a160e952140ea2228cffca365cc1e5">bcatcstr</a> (bstring b, <span class="keyword">const</span> <span class="keywordtype">char</span> * s);</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a63aba7be9cac97b2423d0b7fe0ef2d3b">bcatblk</a> (bstring b, <span class="keyword">const</span> <span class="keywordtype">void</span> * s, <span class="keywordtype">int</span> len);</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#aedbcd4314809a979760f8b6587627290">binsert</a> (bstring s1, <span class="keywordtype">int</span> pos, const_bstring s2, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> fill);</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#aabe032b737de07c80007275b20054eea">binsertch</a> (bstring s1, <span class="keywordtype">int</span> pos, <span class="keywordtype">int</span> len, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> fill);</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a9fa79d2ae38c2ac2ce8e144244f6ef24">breplace</a> (bstring b1, <span class="keywordtype">int</span> pos, <span class="keywordtype">int</span> len, const_bstring b2, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> fill);</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#abc9e2b8145989db6bbef05634b717196">bdelete</a> (bstring s1, <span class="keywordtype">int</span> pos, <span class="keywordtype">int</span> len);</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#ad21e2c3d2af8fac2e43632793f92ec0f">bsetstr</a> (bstring b0, <span class="keywordtype">int</span> pos, const_bstring b1, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> fill);</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a840ac32e58f2a82fbf11995caad4ef12">btrunc</a> (bstring b, <span class="keywordtype">int</span> n);</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="comment">/* Scan/search functions */</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a35584e78a339b7150cc965e14a1edb11">bstricmp</a> (const_bstring b0, const_bstring b1);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#ae6d51d7ccd757acd1ad9e588a482fc2d">bstrnicmp</a> (const_bstring b0, const_bstring b1, <span class="keywordtype">int</span> n);</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a26e167d692cbbee16c80835b4d0ef455">biseqcaseless</a> (const_bstring b0, const_bstring b1);</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a9866e64c45e33ff489449e5ba1a32529">bisstemeqcaselessblk</a> (const_bstring b0, <span class="keyword">const</span> <span class="keywordtype">void</span> * blk, <span class="keywordtype">int</span> len);</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a348899d0efd767ef5f01a78a68e6acbc">biseq</a> (const_bstring b0, const_bstring b1);</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a0ce8042ddbf28c824d0fe76cd6073810">bisstemeqblk</a> (const_bstring b0, <span class="keyword">const</span> <span class="keywordtype">void</span> * blk, <span class="keywordtype">int</span> len);</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#ac42f98d977ae472ebb5286527afbf193">biseqcstr</a> (const_bstring b, <span class="keyword">const</span> <span class="keywordtype">char</span> * s);</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a178bf9ef1178cdc3865c4219ba818712">biseqcstrcaseless</a> (const_bstring b, <span class="keyword">const</span> <span class="keywordtype">char</span> * s);</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a1685392efe5f5df7f1d8483ae940b31f">bstrcmp</a> (const_bstring b0, const_bstring b1);</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#ac019a14f62fd791c35ffd7b4362a1a56">bstrncmp</a> (const_bstring b0, const_bstring b1, <span class="keywordtype">int</span> n);</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#aa7ad93ebaf1f1357cf9c996d1a44e380">binstr</a> (const_bstring s1, <span class="keywordtype">int</span> pos, const_bstring s2);</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a32672d0f2ab78541099fd72b7c14b211">binstrr</a> (const_bstring s1, <span class="keywordtype">int</span> pos, const_bstring s2);</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#abd24c58c12f8751444b7da4ba8254213">binstrcaseless</a> (const_bstring s1, <span class="keywordtype">int</span> pos, const_bstring s2);</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a8a40513f41a46edf0aacb72c790028a8">binstrrcaseless</a> (const_bstring s1, <span class="keywordtype">int</span> pos, const_bstring s2);</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#afa2d60dbf98a719bba513547668965d9">bstrchrp</a> (const_bstring b, <span class="keywordtype">int</span> c, <span class="keywordtype">int</span> pos);</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#aa5ea6d1dd64510c42584cd6821bec9cd">bstrrchrp</a> (const_bstring b, <span class="keywordtype">int</span> c, <span class="keywordtype">int</span> pos);</div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#aab243648d3d35096c9a9fc8d573d6827">   93</a></span>&#160;<span class="preprocessor">#define bstrchr(b,c) bstrchrp ((b), (c), 0)</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#a56057bf0b9c17ba18bc47135ed5eb2c1">   94</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define bstrrchr(b,c) bstrrchrp ((b), (c), blength(b)-1)</span></div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="preprocessor"></span><span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#ad1e99261aecb78119ce018f22d4b9003">binchr</a> (const_bstring b0, <span class="keywordtype">int</span> pos, const_bstring b1);</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#affb3b6d9713d65aa7b1c99f30b621aa2">binchrr</a> (const_bstring b0, <span class="keywordtype">int</span> pos, const_bstring b1);</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a9e8e6895817fcaa40211e5751ea8bebe">bninchr</a> (const_bstring b0, <span class="keywordtype">int</span> pos, const_bstring b1);</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#ae3be1580398284fb344a5f5b005c583c">bninchrr</a> (const_bstring b0, <span class="keywordtype">int</span> pos, const_bstring b1);</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a0e9aa5c17ed9fa7b0fbd65d70e5d71ae">bfindreplace</a> (bstring b, const_bstring find, const_bstring repl, <span class="keywordtype">int</span> pos);</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a81ce227f58af268af1863ad621ecc0a6">bfindreplacecaseless</a> (bstring b, const_bstring find, const_bstring repl, <span class="keywordtype">int</span> pos);</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="comment">/* List of string container functions */</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="structbstrList.html">  103</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structbstrList.html">bstrList</a> {</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="structbstrList.html#ad4909b55bdea3ec89ab08ca94cc6e4f3">  104</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structbstrList.html#ad4909b55bdea3ec89ab08ca94cc6e4f3">qty</a>, <a class="code" href="structbstrList.html#a9c4822dec37f1e532c6a73ddf66866d2">mlen</a>;</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="structbstrList.html#a6309c930e648c1e1e797c3456240789d">  105</a></span>&#160;    bstring * <a class="code" href="structbstrList.html#a6309c930e648c1e1e797c3456240789d">entry</a>;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;};</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structbstrList.html">bstrList</a> * <a class="code" href="____bstrlib_8c.html#a2769336b6423d1e9679de8d0e37f49e8">bstrListCreate</a> (<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#adc923a800379a3f763ab01c9a7eb3d61">bstrListDestroy</a> (<span class="keyword">struct</span> <a class="code" href="structbstrList.html">bstrList</a> * sl);</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#af6a79f3c7b2e86f2555be2a3f017670b">bstrListAlloc</a> (<span class="keyword">struct</span> <a class="code" href="structbstrList.html">bstrList</a> * sl, <span class="keywordtype">int</span> msz);</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#ae7090106c312bf11bbe7745e0ed24931">bstrListAllocMin</a> (<span class="keyword">struct</span> <a class="code" href="structbstrList.html">bstrList</a> * sl, <span class="keywordtype">int</span> msz);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="comment">/* String split and join functions */</span></div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structbstrList.html">bstrList</a> * <a class="code" href="____bstrlib_8c.html#a39dae6d7c2f7e2ef9032f46f64ea1f62">bsplit</a> (const_bstring str, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> splitChar);</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structbstrList.html">bstrList</a> * <a class="code" href="____bstrlib_8c.html#ada6a44e6d5c31cbc4ff00fa37ceb1773">bsplits</a> (const_bstring str, const_bstring splitStr);</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structbstrList.html">bstrList</a> * <a class="code" href="____bstrlib_8c.html#a5852af6d986b793e2a1bf857e07616d1">bsplitstr</a> (const_bstring str, const_bstring splitStr);</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="keyword">extern</span> bstring <a class="code" href="____bstrlib_8c.html#a7fcfc56cab2256e22e3a68563fc734f3">bjoin</a> (<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structbstrList.html">bstrList</a> * bl, const_bstring sep);</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a26da9990485c906bd847d896c07b3702">bsplitcb</a> (const_bstring str, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> splitChar, <span class="keywordtype">int</span> pos,</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    <span class="keywordtype">int</span> (* cb) (<span class="keywordtype">void</span> * parm, <span class="keywordtype">int</span> ofs, <span class="keywordtype">int</span> len), <span class="keywordtype">void</span> * parm);</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a82792b2a1a5a6811638a5b4659117c36">bsplitscb</a> (const_bstring str, const_bstring splitStr, <span class="keywordtype">int</span> pos,</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <span class="keywordtype">int</span> (* cb) (<span class="keywordtype">void</span> * parm, <span class="keywordtype">int</span> ofs, <span class="keywordtype">int</span> len), <span class="keywordtype">void</span> * parm);</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a020a9a8238f234ff67504d900aeb6e6f">bsplitstrcb</a> (const_bstring str, const_bstring splitStr, <span class="keywordtype">int</span> pos,</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    <span class="keywordtype">int</span> (* cb) (<span class="keywordtype">void</span> * parm, <span class="keywordtype">int</span> ofs, <span class="keywordtype">int</span> len), <span class="keywordtype">void</span> * parm);</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="comment">/* Miscellaneous functions */</span></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a794be336ae84eb07208fbdbd5a5c9947">bpattern</a> (bstring b, <span class="keywordtype">int</span> len);</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a5f4dae8da932e725148da9c94f1fc153">btoupper</a> (bstring b);</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a9898743a05a402207976442c9ee5fe44">btolower</a> (bstring b);</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a76b49922309adf99d0580e02f9db38da">bltrimws</a> (bstring b);</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#aa5be1156f9a247dc46d94908a80f8b92">brtrimws</a> (bstring b);</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a72e2c44b7bad218940ab93b3fb8009c6">btrimws</a> (bstring b);</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="comment">/* &lt;*&gt;printf format functions */</span></div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="preprocessor">#if !defined (BSTRLIB_NOVSNP)</span></div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="preprocessor"></span><span class="keyword">extern</span> bstring <a class="code" href="____bstrlib_8c.html#afb6df5c0cec0f16cfc4a44ac46abfdbb">bformat</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> * fmt, ...);</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a758fd8fe430b48c4da6dfeba91445778">bformata</a> (bstring b, <span class="keyword">const</span> <span class="keywordtype">char</span> * fmt, ...);</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a31483e62cbaf1341cace8f5a7703b1b1">bassignformat</a> (bstring b, <span class="keyword">const</span> <span class="keywordtype">char</span> * fmt, ...);</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#aa53b97d7a14e26bd5c7b14e92568f52a">bvcformata</a> (bstring b, <span class="keywordtype">int</span> count, <span class="keyword">const</span> <span class="keywordtype">char</span> * fmt, va_list arglist);</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#afa1682c36488d56476284d722c0fabab">  139</a></span>&#160;<span class="preprocessor">#define bvformata(ret, b, fmt, lastarg) { \</span></div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="preprocessor">bstring bstrtmp_b = (b); \</span></div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="preprocessor">const char * bstrtmp_fmt = (fmt); \</span></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="preprocessor">int bstrtmp_r = BSTR_ERR, bstrtmp_sz = 16; \</span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="preprocessor">    for (;;) { \</span></div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="preprocessor">        va_list bstrtmp_arglist; \</span></div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="preprocessor">        va_start (bstrtmp_arglist, lastarg); \</span></div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="preprocessor">        bstrtmp_r = bvcformata (bstrtmp_b, bstrtmp_sz, bstrtmp_fmt, bstrtmp_arglist); \</span></div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="preprocessor">        va_end (bstrtmp_arglist); \</span></div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="preprocessor">        if (bstrtmp_r &gt;= 0) { </span><span class="comment">/* Everything went ok */</span><span class="preprocessor"> \</span></div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<span class="preprocessor">            bstrtmp_r = BSTR_OK; \</span></div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="preprocessor">            break; \</span></div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="preprocessor">        } else if (-bstrtmp_r &lt;= bstrtmp_sz) { </span><span class="comment">/* A real error? */</span><span class="preprocessor"> \</span></div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="preprocessor">            bstrtmp_r = BSTR_ERR; \</span></div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="preprocessor">            break; \</span></div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="preprocessor">        } \</span></div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="preprocessor">        bstrtmp_sz = -bstrtmp_r; </span><span class="comment">/* Doubled or target size */</span><span class="preprocessor"> \</span></div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="preprocessor">    } \</span></div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="preprocessor">    ret = bstrtmp_r; \</span></div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="preprocessor">}</span></div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#a8a78a95fbcbf5b1c509dc429f145f8d9">  162</a></span>&#160;<span class="keyword">typedef</span> int (*<a class="code" href="____bstrlib_8h.html#a8a78a95fbcbf5b1c509dc429f145f8d9">bNgetc</a>) (<span class="keywordtype">void</span> *parm);</div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#a194a6f53b87dbc34acc57bd65e3b6c73">  163</a></span>&#160;<span class="keyword">typedef</span> size_t (* <a class="code" href="____bstrlib_8h.html#a194a6f53b87dbc34acc57bd65e3b6c73">bNread</a>) (<span class="keywordtype">void</span> *buff, <span class="keywordtype">size_t</span> elsize, <span class="keywordtype">size_t</span> nelem, <span class="keywordtype">void</span> *parm);</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="comment">/* Input functions */</span></div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="keyword">extern</span> bstring <a class="code" href="____bstrlib_8c.html#acb373a00fad24003ff45ca0292f4f8d5">bgets</a> (<a class="code" href="____bstrlib_8h.html#a8a78a95fbcbf5b1c509dc429f145f8d9">bNgetc</a> getcPtr, <span class="keywordtype">void</span> * parm, <span class="keywordtype">char</span> terminator);</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="keyword">extern</span> bstring <a class="code" href="____bstrlib_8c.html#ae95c28d7eafc7dfb014e0e440fd68b30">bread</a> (<a class="code" href="____bstrlib_8h.html#a194a6f53b87dbc34acc57bd65e3b6c73">bNread</a> readPtr, <span class="keywordtype">void</span> * parm);</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a068e2b8551c65458226ec9a64d673086">bgetsa</a> (bstring b, <a class="code" href="____bstrlib_8h.html#a8a78a95fbcbf5b1c509dc429f145f8d9">bNgetc</a> getcPtr, <span class="keywordtype">void</span> * parm, <span class="keywordtype">char</span> terminator);</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#aa34789381e6fdfbbc15c33d8a93299e6">bassigngets</a> (bstring b, <a class="code" href="____bstrlib_8h.html#a8a78a95fbcbf5b1c509dc429f145f8d9">bNgetc</a> getcPtr, <span class="keywordtype">void</span> * parm, <span class="keywordtype">char</span> terminator);</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#ae9e744644ece2ed45a611b694c0e4c77">breada</a> (bstring b, <a class="code" href="____bstrlib_8h.html#a194a6f53b87dbc34acc57bd65e3b6c73">bNread</a> readPtr, <span class="keywordtype">void</span> * parm);</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="comment">/* Stream functions */</span></div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="keyword">extern</span> <span class="keyword">struct </span><a class="code" href="structbStream.html">bStream</a> * <a class="code" href="____bstrlib_8c.html#a375514d5b121d7e43e41ec7516084a39">bsopen</a> (<a class="code" href="____bstrlib_8h.html#a194a6f53b87dbc34acc57bd65e3b6c73">bNread</a> readPtr, <span class="keywordtype">void</span> * <a class="code" href="structbStream.html#a14c65b9f2783c6f6dafdaaa372329e4d">parm</a>);</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> * <a class="code" href="____bstrlib_8c.html#acc02227da53e65324b46ba093ce33418">bsclose</a> (<span class="keyword">struct</span> <a class="code" href="structbStream.html">bStream</a> * s);</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a1687ff9302eab407d55394ff37d11a18">bsbufflength</a> (<span class="keyword">struct</span> <a class="code" href="structbStream.html">bStream</a> * s, <span class="keywordtype">int</span> sz);</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#aefe2e8a821ceab1e911939ee7dc48d46">bsreadln</a> (bstring b, <span class="keyword">struct</span> <a class="code" href="structbStream.html">bStream</a> * s, <span class="keywordtype">char</span> terminator);</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a1b0be0cd89bff4095f256c68e79faf2c">bsreadlns</a> (bstring r, <span class="keyword">struct</span> <a class="code" href="structbStream.html">bStream</a> * s, const_bstring term);</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a2f617474c4981ee2db56883c4a2739de">bsread</a> (bstring b, <span class="keyword">struct</span> <a class="code" href="structbStream.html">bStream</a> * s, <span class="keywordtype">int</span> n);</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a445cf6717c67130bcd547161bd0671fe">bsreadlna</a> (bstring b, <span class="keyword">struct</span> <a class="code" href="structbStream.html">bStream</a> * s, <span class="keywordtype">char</span> terminator);</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a74718d805c33ca99dfcb67c26429e2cf">bsreadlnsa</a> (bstring r, <span class="keyword">struct</span> <a class="code" href="structbStream.html">bStream</a> * s, const_bstring term);</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#af7e7e8f3373d191eeeb930eaf862790b">bsreada</a> (bstring b, <span class="keyword">struct</span> <a class="code" href="structbStream.html">bStream</a> * s, <span class="keywordtype">int</span> n);</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a3aa79cb7c99281a9414bf39f506351ef">bsunread</a> (<span class="keyword">struct</span> <a class="code" href="structbStream.html">bStream</a> * s, const_bstring b);</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a126f75bc5c1b0df6344ee98c8be9fae9">bspeek</a> (bstring r, <span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structbStream.html">bStream</a> * s);</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a4f2b2a5786af900d0d1921913eb37de7">bssplitscb</a> (<span class="keyword">struct</span> <a class="code" href="structbStream.html">bStream</a> * s, const_bstring splitStr, </div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;    <span class="keywordtype">int</span> (* cb) (<span class="keywordtype">void</span> * <a class="code" href="structbStream.html#a14c65b9f2783c6f6dafdaaa372329e4d">parm</a>, <span class="keywordtype">int</span> ofs, const_bstring entry), <span class="keywordtype">void</span> * parm);</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a60cc9226577aab571873009a4e7c0827">bssplitstrcb</a> (<span class="keyword">struct</span> <a class="code" href="structbStream.html">bStream</a> * s, const_bstring splitStr, </div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    <span class="keywordtype">int</span> (* cb) (<span class="keywordtype">void</span> * <a class="code" href="structbStream.html#a14c65b9f2783c6f6dafdaaa372329e4d">parm</a>, <span class="keywordtype">int</span> ofs, const_bstring entry), <span class="keywordtype">void</span> * parm);</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="____bstrlib_8c.html#a91be1eff6fc194df54ff3aeda96cc624">bseof</a> (<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structbStream.html">bStream</a> * s);</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;</div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="structtagbstring.html">  190</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structtagbstring.html">tagbstring</a> {</div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="structtagbstring.html#a9c4822dec37f1e532c6a73ddf66866d2">  191</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structtagbstring.html#a9c4822dec37f1e532c6a73ddf66866d2">mlen</a>;</div>
<div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="structtagbstring.html#a77e5778dba48d5d75c364f1c6f9f5da4">  192</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structtagbstring.html#a77e5778dba48d5d75c364f1c6f9f5da4">slen</a>;</div>
<div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="structtagbstring.html#ac24cea2bfcc927fd29bc74d1086707d8">  193</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> * <a class="code" href="structtagbstring.html#ac24cea2bfcc927fd29bc74d1086707d8">data</a>;</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;};</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<span class="comment">/* Accessor macros */</span></div>
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#a1b3759bb27b16d4ed7f87d84eb36a64a">  197</a></span>&#160;<span class="preprocessor">#define blengthe(b, e)      (((b) == (void *)0 || (b)-&gt;slen &lt; 0) ? (int)(e) : ((b)-&gt;slen))</span></div>
<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#a462176ab60e31a2ead1b575b50b1124d">  198</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define blength(b)          (blengthe ((b), 0))</span></div>
<div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#a7a17cc3f91a96c0c81f8c2032610a26f">  199</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define bdataofse(b, o, e)  (((b) == (void *)0 || (b)-&gt;data == (void*)0) ? (char *)(e) : ((char *)(b)-&gt;data) + (o))</span></div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#ae6becf2b45df687b618d745990b77846">  200</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define bdataofs(b, o)      (bdataofse ((b), (o), (void *)0))</span></div>
<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#a319493bef0d51c2d8f4214b30ca0846d">  201</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define bdatae(b, e)        (bdataofse (b, 0, e))</span></div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#a918e84c6f0ed26acc34882115e1bc896">  202</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define bdata(b)            (bdataofs (b, 0))</span></div>
<div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#aa69796c26dc7f9831420c76f646a1e2c">  203</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define bchare(b, p, e)     ((((unsigned)(p)) &lt; (unsigned)blength(b)) ? ((b)-&gt;data[(p)]) : (e))</span></div>
<div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#a7d5203b5518eb6a79911185ad22fad42">  204</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define bchar(b, p)         bchare ((b), (p), &#39;\0&#39;)</span></div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;<span class="comment">/* Static constant string initialization macro */</span></div>
<div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#a50416729c32d71400fc06201c4a01f5d">  207</a></span>&#160;<span class="preprocessor">#define bsStaticMlen(q,m)   {(m), (int) sizeof(q)-1, (unsigned char *) (&quot;&quot; q &quot;&quot;)}</span></div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#if defined(_MSC_VER)</span></div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;<span class="preprocessor"></span><span class="comment">/* There are many versions of MSVC which emit __LINE__ as a non-constant. */</span></div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;<span class="preprocessor"># define bsStatic(q)        bsStaticMlen(q,-32)</span></div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#ifndef bsStatic</span></div>
<div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#ab41300b1616e4c66c3a2e03479d64bd9">  213</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor"># define bsStatic(q)        bsStaticMlen(q,-__LINE__)</span></div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;<span class="comment">/* Static constant block parameter pair */</span></div>
<div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#ac3dc1cdd273f7d9edb89f6a4a49cb852">  217</a></span>&#160;<span class="preprocessor">#define bsStaticBlkParms(q) ((void *)(&quot;&quot; q &quot;&quot;)), ((int) sizeof(q)-1)</span></div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;<span class="comment">/* Reference building macros */</span></div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#a696d493c160c150928633ab4c880257b">  220</a></span>&#160;<span class="preprocessor">#define cstr2tbstr btfromcstr</span></div>
<div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#a52bfb9d7cacb9f51e42066e2fe3e5a99">  221</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define btfromcstr(t,s) {                                            \</span></div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;<span class="preprocessor">    (t).data = (unsigned char *) (s);                                \</span></div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;<span class="preprocessor">    (t).slen = ((t).data) ? ((int) (strlen) ((char *)(t).data)) : 0; \</span></div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;<span class="preprocessor">    (t).mlen = -1;                                                   \</span></div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;<span class="preprocessor">}</span></div>
<div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#a8fb8d7713b3e5c45ec688b0adcb012f1">  226</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define blk2tbstr(t,s,l) {            \</span></div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;<span class="preprocessor">    (t).data = (unsigned char *) (s); \</span></div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;<span class="preprocessor">    (t).slen = l;                     \</span></div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;<span class="preprocessor">    (t).mlen = -1;                    \</span></div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;<span class="preprocessor">}</span></div>
<div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#aa6f4ba9c4ffa4800e7214ed13d1ae81c">  231</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define btfromblk(t,s,l) blk2tbstr(t,s,l)</span></div>
<div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#aef11b11882ddf92fc7ab44b6d5f3a80d">  232</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define bmid2tbstr(t,b,p,l) {                                                \</span></div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;<span class="preprocessor">    const_bstring bstrtmp_s = (b);                                           \</span></div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;<span class="preprocessor">    if (bstrtmp_s &amp;&amp; bstrtmp_s-&gt;data &amp;&amp; bstrtmp_s-&gt;slen &gt;= 0) {              \</span></div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;<span class="preprocessor">        int bstrtmp_left = (p);                                              \</span></div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;<span class="preprocessor">        int bstrtmp_len  = (l);                                              \</span></div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;<span class="preprocessor">        if (bstrtmp_left &lt; 0) {                                              \</span></div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;<span class="preprocessor">            bstrtmp_len += bstrtmp_left;                                     \</span></div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;<span class="preprocessor">            bstrtmp_left = 0;                                                \</span></div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;<span class="preprocessor">        }                                                                    \</span></div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;<span class="preprocessor">        if (bstrtmp_len &gt; bstrtmp_s-&gt;slen - bstrtmp_left)                    \</span></div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;<span class="preprocessor">            bstrtmp_len = bstrtmp_s-&gt;slen - bstrtmp_left;                    \</span></div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;<span class="preprocessor">        if (bstrtmp_len &lt;= 0) {                                              \</span></div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;<span class="preprocessor">            (t).data = (unsigned char *)&quot;&quot;;                                  \</span></div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;<span class="preprocessor">            (t).slen = 0;                                                    \</span></div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;<span class="preprocessor">        } else {                                                             \</span></div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;<span class="preprocessor">            (t).data = bstrtmp_s-&gt;data + bstrtmp_left;                       \</span></div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;<span class="preprocessor">            (t).slen = bstrtmp_len;                                          \</span></div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;<span class="preprocessor">        }                                                                    \</span></div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;<span class="preprocessor">    } else {                                                                 \</span></div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;<span class="preprocessor">        (t).data = (unsigned char *)&quot;&quot;;                                      \</span></div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;<span class="preprocessor">        (t).slen = 0;                                                        \</span></div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;<span class="preprocessor">    }                                                                        \</span></div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;<span class="preprocessor">    (t).mlen = -__LINE__;                                                    \</span></div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;<span class="preprocessor">}</span></div>
<div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#a168c04182fd97834fbe508fa8c186991">  256</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define btfromblkltrimws(t,s,l) {                                            \</span></div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;<span class="preprocessor">    int bstrtmp_idx = 0, bstrtmp_len = (l);                                  \</span></div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;<span class="preprocessor">    unsigned char * bstrtmp_s = (s);                                         \</span></div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;<span class="preprocessor">    if (bstrtmp_s &amp;&amp; bstrtmp_len &gt;= 0) {                                     \</span></div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;<span class="preprocessor">        for (; bstrtmp_idx &lt; bstrtmp_len; bstrtmp_idx++) {                   \</span></div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<span class="preprocessor">            if (!isspace (bstrtmp_s[bstrtmp_idx])) break;                    \</span></div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;<span class="preprocessor">        }                                                                    \</span></div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;<span class="preprocessor">    }                                                                        \</span></div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;<span class="preprocessor">    (t).data = bstrtmp_s + bstrtmp_idx;                                      \</span></div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;<span class="preprocessor">    (t).slen = bstrtmp_len - bstrtmp_idx;                                    \</span></div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;<span class="preprocessor">    (t).mlen = -__LINE__;                                                    \</span></div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;<span class="preprocessor">}</span></div>
<div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#a9590d06aa5bc93a8031d5bbaccf75373">  268</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define btfromblkrtrimws(t,s,l) {                                            \</span></div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;<span class="preprocessor">    int bstrtmp_len = (l) - 1;                                               \</span></div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;<span class="preprocessor">    unsigned char * bstrtmp_s = (s);                                         \</span></div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;<span class="preprocessor">    if (bstrtmp_s &amp;&amp; bstrtmp_len &gt;= 0) {                                     \</span></div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;<span class="preprocessor">        for (; bstrtmp_len &gt;= 0; bstrtmp_len--) {                            \</span></div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;<span class="preprocessor">            if (!isspace (bstrtmp_s[bstrtmp_len])) break;                    \</span></div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;<span class="preprocessor">        }                                                                    \</span></div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;<span class="preprocessor">    }                                                                        \</span></div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;<span class="preprocessor">    (t).data = bstrtmp_s;                                                    \</span></div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;<span class="preprocessor">    (t).slen = bstrtmp_len + 1;                                              \</span></div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;<span class="preprocessor">    (t).mlen = -__LINE__;                                                    \</span></div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;<span class="preprocessor">}</span></div>
<div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#afa5e9e949494d2c5d3f8749b48685e5d">  280</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define btfromblktrimws(t,s,l) {                                             \</span></div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;<span class="preprocessor">    int bstrtmp_idx = 0, bstrtmp_len = (l) - 1;                              \</span></div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;<span class="preprocessor">    unsigned char * bstrtmp_s = (s);                                         \</span></div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;<span class="preprocessor">    if (bstrtmp_s &amp;&amp; bstrtmp_len &gt;= 0) {                                     \</span></div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;<span class="preprocessor">        for (; bstrtmp_idx &lt;= bstrtmp_len; bstrtmp_idx++) {                  \</span></div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;<span class="preprocessor">            if (!isspace (bstrtmp_s[bstrtmp_idx])) break;                    \</span></div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;<span class="preprocessor">        }                                                                    \</span></div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;<span class="preprocessor">        for (; bstrtmp_len &gt;= bstrtmp_idx; bstrtmp_len--) {                  \</span></div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;<span class="preprocessor">            if (!isspace (bstrtmp_s[bstrtmp_len])) break;                    \</span></div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;<span class="preprocessor">        }                                                                    \</span></div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;<span class="preprocessor">    }                                                                        \</span></div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;<span class="preprocessor">    (t).data = bstrtmp_s + bstrtmp_idx;                                      \</span></div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;<span class="preprocessor">    (t).slen = bstrtmp_len + 1 - bstrtmp_idx;                                \</span></div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;<span class="preprocessor">    (t).mlen = -__LINE__;                                                    \</span></div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;<span class="preprocessor">}</span></div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;<span class="comment">/* Write protection macros */</span></div>
<div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#a3b9759ad92b645976d14692362f2ed10">  297</a></span>&#160;<span class="preprocessor">#define bwriteprotect(t)     { if ((t).mlen &gt;=  0) (t).mlen = -1; }</span></div>
<div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#a20e39e69cf2035b12da65078eb1b9817">  298</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define bwriteallow(t)       { if ((t).mlen == -1) (t).mlen = (t).slen + ((t).slen == 0); }</span></div>
<div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="____bstrlib_8h.html#ae6f90b293b8f88607ae83c2feae7ae99">  299</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define biswriteprotected(t) ((t).mlen &lt;= 0)</span></div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;<span class="preprocessor"></span>}</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="____bstrlib_8c_html_a9866e64c45e33ff489449e5ba1a32529"><div class="ttname"><a href="____bstrlib_8c.html#a9866e64c45e33ff489449e5ba1a32529">bisstemeqcaselessblk</a></div><div class="ttdeci">int bisstemeqcaselessblk(const_bstring b0, const void *blk, int len)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00700">__bstrlib.c:700</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_abd24c58c12f8751444b7da4ba8254213"><div class="ttname"><a href="____bstrlib_8c.html#abd24c58c12f8751444b7da4ba8254213">binstrcaseless</a></div><div class="ttdeci">int binstrcaseless(const_bstring b1, int pos, const_bstring b2)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01157">__bstrlib.c:1157</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a4f2b2a5786af900d0d1921913eb37de7"><div class="ttname"><a href="____bstrlib_8c.html#a4f2b2a5786af900d0d1921913eb37de7">bssplitscb</a></div><div class="ttdeci">int bssplitscb(struct bStream *s, const_bstring splitStr, int(*cb)(void *parm, int ofs, const_bstring entry), void *parm)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02309">__bstrlib.c:2309</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a81ce227f58af268af1863ad621ecc0a6"><div class="ttname"><a href="____bstrlib_8c.html#a81ce227f58af268af1863ad621ecc0a6">bfindreplacecaseless</a></div><div class="ttdeci">int bfindreplacecaseless(bstring b, const_bstring find, const_bstring repl, int pos)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01710">__bstrlib.c:1710</a></div></div>
<div class="ttc" id="structbstrList_html_ad4909b55bdea3ec89ab08ca94cc6e4f3"><div class="ttname"><a href="structbstrList.html#ad4909b55bdea3ec89ab08ca94cc6e4f3">bstrList::qty</a></div><div class="ttdeci">int qty</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8h_source.html#l00104">__bstrlib.h:104</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_aa3215129c26370469f86aa38c5916377"><div class="ttname"><a href="____bstrlib_8c.html#aa3215129c26370469f86aa38c5916377">ballocmin</a></div><div class="ttdeci">int ballocmin(bstring b, int len)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00161">__bstrlib.c:161</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a74718d805c33ca99dfcb67c26429e2cf"><div class="ttname"><a href="____bstrlib_8c.html#a74718d805c33ca99dfcb67c26429e2cf">bsreadlnsa</a></div><div class="ttdeci">int bsreadlnsa(bstring r, struct bStream *s, const_bstring term)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02047">__bstrlib.c:2047</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_aa5ea6d1dd64510c42584cd6821bec9cd"><div class="ttname"><a href="____bstrlib_8c.html#aa5ea6d1dd64510c42584cd6821bec9cd">bstrrchrp</a></div><div class="ttdeci">int bstrrchrp(const_bstring b, int c, int pos)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01263">__bstrlib.c:1263</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a2769336b6423d1e9679de8d0e37f49e8"><div class="ttname"><a href="____bstrlib_8c.html#a2769336b6423d1e9679de8d0e37f49e8">bstrListCreate</a></div><div class="ttdeci">struct bstrList * bstrListCreate(void)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02424">__bstrlib.c:2424</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a3aa79cb7c99281a9414bf39f506351ef"><div class="ttname"><a href="____bstrlib_8c.html#a3aa79cb7c99281a9414bf39f506351ef">bsunread</a></div><div class="ttdeci">int bsunread(struct bStream *s, const_bstring b)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02229">__bstrlib.c:2229</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a2f617474c4981ee2db56883c4a2739de"><div class="ttname"><a href="____bstrlib_8c.html#a2f617474c4981ee2db56883c4a2739de">bsread</a></div><div class="ttdeci">int bsread(bstring r, struct bStream *s, int n)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02215">__bstrlib.c:2215</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a9fa79d2ae38c2ac2ce8e144244f6ef24"><div class="ttname"><a href="____bstrlib_8c.html#a9fa79d2ae38c2ac2ce8e144244f6ef24">breplace</a></div><div class="ttdeci">int breplace(bstring b1, int pos, int len, const_bstring b2, unsigned char fill)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01502">__bstrlib.c:1502</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_ad5308b535bf446078d2c51f7f1d4f755"><div class="ttname"><a href="____bstrlib_8c.html#ad5308b535bf446078d2c51f7f1d4f755">bassign</a></div><div class="ttdeci">int bassign(bstring a, const_bstring b)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00451">__bstrlib.c:451</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_affb3b6d9713d65aa7b1c99f30b621aa2"><div class="ttname"><a href="____bstrlib_8c.html#affb3b6d9713d65aa7b1c99f30b621aa2">binchrr</a></div><div class="ttdeci">int binchrr(const_bstring b0, int pos, const_bstring b1)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01352">__bstrlib.c:1352</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_ada6a44e6d5c31cbc4ff00fa37ceb1773"><div class="ttname"><a href="____bstrlib_8c.html#ada6a44e6d5c31cbc4ff00fa37ceb1773">bsplits</a></div><div class="ttdeci">struct bstrList * bsplits(const_bstring str, const_bstring splitStr)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02717">__bstrlib.c:2717</a></div></div>
<div class="ttc" id="structbStream_html_a14c65b9f2783c6f6dafdaaa372329e4d"><div class="ttname"><a href="structbStream.html#a14c65b9f2783c6f6dafdaaa372329e4d">bStream::parm</a></div><div class="ttdeci">void * parm</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01914">__bstrlib.c:1914</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_ae6d51d7ccd757acd1ad9e588a482fc2d"><div class="ttname"><a href="____bstrlib_8c.html#ae6d51d7ccd757acd1ad9e588a482fc2d">bstrnicmp</a></div><div class="ttdeci">int bstrnicmp(const_bstring b0, const_bstring b1, int n)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00637">__bstrlib.c:637</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a0ce8042ddbf28c824d0fe76cd6073810"><div class="ttname"><a href="____bstrlib_8c.html#a0ce8042ddbf28c824d0fe76cd6073810">bisstemeqblk</a></div><div class="ttdeci">int bisstemeqblk(const_bstring b0, const void *blk, int len)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00811">__bstrlib.c:811</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a60cc9226577aab571873009a4e7c0827"><div class="ttname"><a href="____bstrlib_8c.html#a60cc9226577aab571873009a4e7c0827">bssplitstrcb</a></div><div class="ttdeci">int bssplitstrcb(struct bStream *s, const_bstring splitStr, int(*cb)(void *parm, int ofs, const_bstring entry), void *parm)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02375">__bstrlib.c:2375</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_aedbcd4314809a979760f8b6587627290"><div class="ttname"><a href="____bstrlib_8c.html#aedbcd4314809a979760f8b6587627290">binsert</a></div><div class="ttdeci">int binsert(bstring b1, int pos, const_bstring b2, unsigned char fill)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01455">__bstrlib.c:1455</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a375514d5b121d7e43e41ec7516084a39"><div class="ttname"><a href="____bstrlib_8c.html#a375514d5b121d7e43e41ec7516084a39">bsopen</a></div><div class="ttdeci">struct bStream * bsopen(bNread readPtr, void *parm)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01926">__bstrlib.c:1926</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a1685392efe5f5df7f1d8483ae940b31f"><div class="ttname"><a href="____bstrlib_8c.html#a1685392efe5f5df7f1d8483ae940b31f">bstrcmp</a></div><div class="ttdeci">int bstrcmp(const_bstring b0, const_bstring b1)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00883">__bstrlib.c:883</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_ac6ee5c5fe4e1512cb74f37a51d9382f6"><div class="ttname"><a href="____bstrlib_8c.html#ac6ee5c5fe4e1512cb74f37a51d9382f6">bstr2cstr</a></div><div class="ttdeci">char * bstr2cstr(const_bstring b, char z)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00277">__bstrlib.c:277</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a26e167d692cbbee16c80835b4d0ef455"><div class="ttname"><a href="____bstrlib_8c.html#a26e167d692cbbee16c80835b4d0ef455">biseqcaseless</a></div><div class="ttdeci">int biseqcaseless(const_bstring b0, const_bstring b1)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00675">__bstrlib.c:675</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a126f75bc5c1b0df6344ee98c8be9fae9"><div class="ttname"><a href="____bstrlib_8c.html#a126f75bc5c1b0df6344ee98c8be9fae9">bspeek</a></div><div class="ttdeci">int bspeek(bstring r, const struct bStream *s)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02239">__bstrlib.c:2239</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_adc923a800379a3f763ab01c9a7eb3d61"><div class="ttname"><a href="____bstrlib_8c.html#adc923a800379a3f763ab01c9a7eb3d61">bstrListDestroy</a></div><div class="ttdeci">int bstrListDestroy(struct bstrList *sl)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02443">__bstrlib.c:2443</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_aa34789381e6fdfbbc15c33d8a93299e6"><div class="ttname"><a href="____bstrlib_8c.html#aa34789381e6fdfbbc15c33d8a93299e6">bassigngets</a></div><div class="ttdeci">int bassigngets(bstring b, bNgetc getcPtr, void *parm, char terminator)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01828">__bstrlib.c:1828</a></div></div>
<div class="ttc" id="structtagbstring_html_a9c4822dec37f1e532c6a73ddf66866d2"><div class="ttname"><a href="structtagbstring.html#a9c4822dec37f1e532c6a73ddf66866d2">tagbstring::mlen</a></div><div class="ttdeci">int mlen</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8h_source.html#l00191">__bstrlib.h:191</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_ad21e2c3d2af8fac2e43632793f92ec0f"><div class="ttname"><a href="____bstrlib_8c.html#ad21e2c3d2af8fac2e43632793f92ec0f">bsetstr</a></div><div class="ttdeci">int bsetstr(bstring b0, int pos, const_bstring b1, unsigned char fill)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01400">__bstrlib.c:1400</a></div></div>
<div class="ttc" id="structbStream_html"><div class="ttname"><a href="structbStream.html">bStream</a></div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01912">__bstrlib.c:1912</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a71ca3b83ad803d719de83b9b95079da5"><div class="ttname"><a href="____bstrlib_8c.html#a71ca3b83ad803d719de83b9b95079da5">balloc</a></div><div class="ttdeci">int balloc(bstring b, int olen)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00099">__bstrlib.c:99</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a9898743a05a402207976442c9ee5fe44"><div class="ttname"><a href="____bstrlib_8c.html#a9898743a05a402207976442c9ee5fe44">btolower</a></div><div class="ttdeci">int btolower(bstring b)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00581">__bstrlib.c:581</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_ae9e744644ece2ed45a611b694c0e4c77"><div class="ttname"><a href="____bstrlib_8c.html#ae9e744644ece2ed45a611b694c0e4c77">breada</a></div><div class="ttdeci">int breada(bstring b, bNread readPtr, void *parm)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01780">__bstrlib.c:1780</a></div></div>
<div class="ttc" id="structbstrList_html"><div class="ttname"><a href="structbstrList.html">bstrList</a></div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8h_source.html#l00103">__bstrlib.h:103</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a178bf9ef1178cdc3865c4219ba818712"><div class="ttname"><a href="____bstrlib_8c.html#a178bf9ef1178cdc3865c4219ba818712">biseqcstrcaseless</a></div><div class="ttdeci">int biseqcstrcaseless(const_bstring b, const char *s)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00857">__bstrlib.c:857</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_aa0a160e952140ea2228cffca365cc1e5"><div class="ttname"><a href="____bstrlib_8c.html#aa0a160e952140ea2228cffca365cc1e5">bcatcstr</a></div><div class="ttdeci">int bcatcstr(bstring b, const char *s)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00366">__bstrlib.c:366</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_abc9e2b8145989db6bbef05634b717196"><div class="ttname"><a href="____bstrlib_8c.html#abc9e2b8145989db6bbef05634b717196">bdelete</a></div><div class="ttdeci">int bdelete(bstring b, int pos, int len)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00965">__bstrlib.c:965</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a31483e62cbaf1341cace8f5a7703b1b1"><div class="ttname"><a href="____bstrlib_8c.html#a31483e62cbaf1341cace8f5a7703b1b1">bassignformat</a></div><div class="ttdeci">int bassignformat(bstring b, const char *fmt,...)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02838">__bstrlib.c:2838</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a7fcfc56cab2256e22e3a68563fc734f3"><div class="ttname"><a href="____bstrlib_8c.html#a7fcfc56cab2256e22e3a68563fc734f3">bjoin</a></div><div class="ttdeci">bstring bjoin(const struct bstrList *bl, const_bstring sep)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02250">__bstrlib.c:2250</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a88ae85f2a331e1ffc893c897e0af90c5"><div class="ttname"><a href="____bstrlib_8c.html#a88ae85f2a331e1ffc893c897e0af90c5">bmidstr</a></div><div class="ttdeci">bstring bmidstr(const_bstring b, int left, int len)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00943">__bstrlib.c:943</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_aaefe0f9aede448c15b01d882ca977de5"><div class="ttname"><a href="____bstrlib_8c.html#aaefe0f9aede448c15b01d882ca977de5">bcstrfree</a></div><div class="ttdeci">int bcstrfree(char *s)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00306">__bstrlib.c:306</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a26da9990485c906bd847d896c07b3702"><div class="ttname"><a href="____bstrlib_8c.html#a26da9990485c906bd847d896c07b3702">bsplitcb</a></div><div class="ttdeci">int bsplitcb(const_bstring str, unsigned char splitChar, int pos, int(*cb)(void *parm, int ofs, int len), void *parm)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02521">__bstrlib.c:2521</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a5cc74ee2cb8a63b665ad2fc6ff40cedb"><div class="ttname"><a href="____bstrlib_8c.html#a5cc74ee2cb8a63b665ad2fc6ff40cedb">blk2bstr</a></div><div class="ttdeci">bstring blk2bstr(const void *blk, int len)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00244">__bstrlib.c:244</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a1b0be0cd89bff4095f256c68e79faf2c"><div class="ttname"><a href="____bstrlib_8c.html#a1b0be0cd89bff4095f256c68e79faf2c">bsreadlns</a></div><div class="ttdeci">int bsreadlns(bstring r, struct bStream *s, const_bstring term)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02197">__bstrlib.c:2197</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_af6a79f3c7b2e86f2555be2a3f017670b"><div class="ttname"><a href="____bstrlib_8c.html#af6a79f3c7b2e86f2555be2a3f017670b">bstrListAlloc</a></div><div class="ttdeci">int bstrListAlloc(struct bstrList *sl, int msz)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02465">__bstrlib.c:2465</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a840ac32e58f2a82fbf11995caad4ef12"><div class="ttname"><a href="____bstrlib_8c.html#a840ac32e58f2a82fbf11995caad4ef12">btrunc</a></div><div class="ttdeci">int btrunc(bstring b, int n)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00549">__bstrlib.c:549</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a35584e78a339b7150cc965e14a1edb11"><div class="ttname"><a href="____bstrlib_8c.html#a35584e78a339b7150cc965e14a1edb11">bstricmp</a></div><div class="ttdeci">int bstricmp(const_bstring b0, const_bstring b1)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00600">__bstrlib.c:600</a></div></div>
<div class="ttc" id="____bstrlib_8h_html_a8a78a95fbcbf5b1c509dc429f145f8d9"><div class="ttname"><a href="____bstrlib_8h.html#a8a78a95fbcbf5b1c509dc429f145f8d9">bNgetc</a></div><div class="ttdeci">int(* bNgetc)(void *parm)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8h_source.html#l00162">__bstrlib.h:162</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_acc02227da53e65324b46ba093ce33418"><div class="ttname"><a href="____bstrlib_8c.html#acc02227da53e65324b46ba093ce33418">bsclose</a></div><div class="ttdeci">void * bsclose(struct bStream *s)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01963">__bstrlib.c:1963</a></div></div>
<div class="ttc" id="____bstrlib_8h_html_a194a6f53b87dbc34acc57bd65e3b6c73"><div class="ttname"><a href="____bstrlib_8h.html#a194a6f53b87dbc34acc57bd65e3b6c73">bNread</a></div><div class="ttdeci">size_t(* bNread)(void *buff, size_t elsize, size_t nelem, void *parm)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8h_source.html#l00163">__bstrlib.h:163</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_aa53b97d7a14e26bd5c7b14e92568f52a"><div class="ttname"><a href="____bstrlib_8c.html#aa53b97d7a14e26bd5c7b14e92568f52a">bvcformata</a></div><div class="ttdeci">int bvcformata(bstring b, int count, const char *fmt, va_list arg)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02944">__bstrlib.c:2944</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a5f4dae8da932e725148da9c94f1fc153"><div class="ttname"><a href="____bstrlib_8c.html#a5f4dae8da932e725148da9c94f1fc153">btoupper</a></div><div class="ttdeci">int btoupper(bstring b)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00567">__bstrlib.c:567</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_ae5391e339f3f691d5bf8d37a4a71b74d"><div class="ttname"><a href="____bstrlib_8c.html#ae5391e339f3f691d5bf8d37a4a71b74d">bstrcpy</a></div><div class="ttdeci">bstring bstrcpy(const_bstring b)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00411">__bstrlib.c:411</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a794be336ae84eb07208fbdbd5a5c9947"><div class="ttname"><a href="____bstrlib_8c.html#a794be336ae84eb07208fbdbd5a5c9947">bpattern</a></div><div class="ttdeci">int bpattern(bstring b, int len)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01758">__bstrlib.c:1758</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_ad1e99261aecb78119ce018f22d4b9003"><div class="ttname"><a href="____bstrlib_8c.html#ad1e99261aecb78119ce018f22d4b9003">binchr</a></div><div class="ttdeci">int binchr(const_bstring b0, int pos, const_bstring b1)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01327">__bstrlib.c:1327</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a068e2b8551c65458226ec9a64d673086"><div class="ttname"><a href="____bstrlib_8c.html#a068e2b8551c65458226ec9a64d673086">bgetsa</a></div><div class="ttdeci">int bgetsa(bstring b, bNgetc getcPtr, void *parm, char terminator)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01866">__bstrlib.c:1866</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_ae7090106c312bf11bbe7745e0ed24931"><div class="ttname"><a href="____bstrlib_8c.html#ae7090106c312bf11bbe7745e0ed24931">bstrListAllocMin</a></div><div class="ttdeci">int bstrListAllocMin(struct bstrList *sl, int msz)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02491">__bstrlib.c:2491</a></div></div>
<div class="ttc" id="structtagbstring_html_a77e5778dba48d5d75c364f1c6f9f5da4"><div class="ttname"><a href="structtagbstring.html#a77e5778dba48d5d75c364f1c6f9f5da4">tagbstring::slen</a></div><div class="ttdeci">int slen</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8h_source.html#l00192">__bstrlib.h:192</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a32672d0f2ab78541099fd72b7c14b211"><div class="ttname"><a href="____bstrlib_8c.html#a32672d0f2ab78541099fd72b7c14b211">binstrr</a></div><div class="ttdeci">int binstrr(const_bstring b1, int pos, const_bstring b2)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01110">__bstrlib.c:1110</a></div></div>
<div class="ttc" id="structbstrList_html_a9c4822dec37f1e532c6a73ddf66866d2"><div class="ttname"><a href="structbstrList.html#a9c4822dec37f1e532c6a73ddf66866d2">bstrList::mlen</a></div><div class="ttdeci">int mlen</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8h_source.html#l00104">__bstrlib.h:104</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_abebe200396d233cc3b732677e17f1087"><div class="ttname"><a href="____bstrlib_8c.html#abebe200396d233cc3b732677e17f1087">bdestroy</a></div><div class="ttdeci">int bdestroy(bstring b)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00996">__bstrlib.c:996</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a758fd8fe430b48c4da6dfeba91445778"><div class="ttname"><a href="____bstrlib_8c.html#a758fd8fe430b48c4da6dfeba91445778">bformata</a></div><div class="ttdeci">int bformata(bstring b, const char *fmt,...)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02790">__bstrlib.c:2790</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_af7e7e8f3373d191eeeb930eaf862790b"><div class="ttname"><a href="____bstrlib_8c.html#af7e7e8f3373d191eeeb930eaf862790b">bsreada</a></div><div class="ttdeci">int bsreada(bstring r, struct bStream *s, int n)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02118">__bstrlib.c:2118</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_aefe2e8a821ceab1e911939ee7dc48d46"><div class="ttname"><a href="____bstrlib_8c.html#aefe2e8a821ceab1e911939ee7dc48d46">bsreadln</a></div><div class="ttdeci">int bsreadln(bstring r, struct bStream *s, char terminator)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02182">__bstrlib.c:2182</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a9e8e6895817fcaa40211e5751ea8bebe"><div class="ttname"><a href="____bstrlib_8c.html#a9e8e6895817fcaa40211e5751ea8bebe">bninchr</a></div><div class="ttdeci">int bninchr(const_bstring b0, int pos, const_bstring b1)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01368">__bstrlib.c:1368</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_ab505e4ece683c289cc40bc271a7c7819"><div class="ttname"><a href="____bstrlib_8c.html#ab505e4ece683c289cc40bc271a7c7819">bfromcstralloc</a></div><div class="ttdeci">bstring bfromcstralloc(int mlen, const char *str)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00215">__bstrlib.c:215</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a91be1eff6fc194df54ff3aeda96cc624"><div class="ttname"><a href="____bstrlib_8c.html#a91be1eff6fc194df54ff3aeda96cc624">bseof</a></div><div class="ttdeci">int bseof(const struct bStream *s)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01953">__bstrlib.c:1953</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a63aba7be9cac97b2423d0b7fe0ef2d3b"><div class="ttname"><a href="____bstrlib_8c.html#a63aba7be9cac97b2423d0b7fe0ef2d3b">bcatblk</a></div><div class="ttdeci">int bcatblk(bstring b, const void *s, int len)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00392">__bstrlib.c:392</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_aa5be1156f9a247dc46d94908a80f8b92"><div class="ttname"><a href="____bstrlib_8c.html#aa5be1156f9a247dc46d94908a80f8b92">brtrimws</a></div><div class="ttdeci">int brtrimws(bstring b)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00744">__bstrlib.c:744</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_ae95c28d7eafc7dfb014e0e440fd68b30"><div class="ttname"><a href="____bstrlib_8c.html#ae95c28d7eafc7dfb014e0e440fd68b30">bread</a></div><div class="ttdeci">bstring bread(bNread readPtr, void *parm)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01805">__bstrlib.c:1805</a></div></div>
<div class="ttc" id="structbstrList_html_a6309c930e648c1e1e797c3456240789d"><div class="ttname"><a href="structbstrList.html#a6309c930e648c1e1e797c3456240789d">bstrList::entry</a></div><div class="ttdeci">bstring * entry</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8h_source.html#l00105">__bstrlib.h:105</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a445cf6717c67130bcd547161bd0671fe"><div class="ttname"><a href="____bstrlib_8c.html#a445cf6717c67130bcd547161bd0671fe">bsreadlna</a></div><div class="ttdeci">int bsreadlna(bstring r, struct bStream *s, char terminator)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01983">__bstrlib.c:1983</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_aa7ad93ebaf1f1357cf9c996d1a44e380"><div class="ttname"><a href="____bstrlib_8c.html#aa7ad93ebaf1f1357cf9c996d1a44e380">binstr</a></div><div class="ttdeci">int binstr(const_bstring b1, int pos, const_bstring b2)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01023">__bstrlib.c:1023</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_ae3be1580398284fb344a5f5b005c583c"><div class="ttname"><a href="____bstrlib_8c.html#ae3be1580398284fb344a5f5b005c583c">bninchrr</a></div><div class="ttdeci">int bninchrr(const_bstring b0, int pos, const_bstring b1)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01383">__bstrlib.c:1383</a></div></div>
<div class="ttc" id="structtagbstring_html"><div class="ttname"><a href="structtagbstring.html">tagbstring</a></div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8h_source.html#l00190">__bstrlib.h:190</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a5852af6d986b793e2a1bf857e07616d1"><div class="ttname"><a href="____bstrlib_8c.html#a5852af6d986b793e2a1bf857e07616d1">bsplitstr</a></div><div class="ttdeci">struct bstrList * bsplitstr(const_bstring str, const_bstring splitStr)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02688">__bstrlib.c:2688</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a020a9a8238f234ff67504d900aeb6e6f"><div class="ttname"><a href="____bstrlib_8c.html#a020a9a8238f234ff67504d900aeb6e6f">bsplitstrcb</a></div><div class="ttdeci">int bsplitstrcb(const_bstring str, const_bstring splitStr, int pos, int(*cb)(void *parm, int ofs, int len), void *parm)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02599">__bstrlib.c:2599</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_acb373a00fad24003ff45ca0292f4f8d5"><div class="ttname"><a href="____bstrlib_8c.html#acb373a00fad24003ff45ca0292f4f8d5">bgets</a></div><div class="ttdeci">bstring bgets(bNgetc getcPtr, void *parm, char terminator)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01902">__bstrlib.c:1902</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_aabe032b737de07c80007275b20054eea"><div class="ttname"><a href="____bstrlib_8c.html#aabe032b737de07c80007275b20054eea">binsertch</a></div><div class="ttdeci">int binsertch(bstring b, int pos, int len, unsigned char fill)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01721">__bstrlib.c:1721</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_ac42f98d977ae472ebb5286527afbf193"><div class="ttname"><a href="____bstrlib_8c.html#ac42f98d977ae472ebb5286527afbf193">biseqcstr</a></div><div class="ttdeci">int biseqcstr(const_bstring b, const char *s)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00836">__bstrlib.c:836</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a0b113d975a350dafde41677492efad13"><div class="ttname"><a href="____bstrlib_8c.html#a0b113d975a350dafde41677492efad13">bassigncstr</a></div><div class="ttdeci">int bassigncstr(bstring a, const char *str)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00505">__bstrlib.c:505</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_afa2d60dbf98a719bba513547668965d9"><div class="ttname"><a href="____bstrlib_8c.html#afa2d60dbf98a719bba513547668965d9">bstrchrp</a></div><div class="ttdeci">int bstrchrp(const_bstring b, int c, int pos)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01249">__bstrlib.c:1249</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a323bad8fd30b7b8c3fd2ec17f26935d2"><div class="ttname"><a href="____bstrlib_8c.html#a323bad8fd30b7b8c3fd2ec17f26935d2">bfromcstr</a></div><div class="ttdeci">bstring bfromcstr(const char *str)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00187">__bstrlib.c:187</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a39dae6d7c2f7e2ef9032f46f64ea1f62"><div class="ttname"><a href="____bstrlib_8c.html#a39dae6d7c2f7e2ef9032f46f64ea1f62">bsplit</a></div><div class="ttdeci">struct bstrList * bsplit(const_bstring str, unsigned char splitChar)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02660">__bstrlib.c:2660</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a348899d0efd767ef5f01a78a68e6acbc"><div class="ttname"><a href="____bstrlib_8c.html#a348899d0efd767ef5f01a78a68e6acbc">biseq</a></div><div class="ttdeci">int biseq(const_bstring b0, const_bstring b1)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00795">__bstrlib.c:795</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a72e2c44b7bad218940ab93b3fb8009c6"><div class="ttname"><a href="____bstrlib_8c.html#a72e2c44b7bad218940ab93b3fb8009c6">btrimws</a></div><div class="ttdeci">int btrimws(bstring b)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00768">__bstrlib.c:768</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a82792b2a1a5a6811638a5b4659117c36"><div class="ttname"><a href="____bstrlib_8c.html#a82792b2a1a5a6811638a5b4659117c36">bsplitscb</a></div><div class="ttdeci">int bsplitscb(const_bstring str, const_bstring splitStr, int pos, int(*cb)(void *parm, int ofs, int len), void *parm)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02555">__bstrlib.c:2555</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a0e9aa5c17ed9fa7b0fbd65d70e5d71ae"><div class="ttname"><a href="____bstrlib_8c.html#a0e9aa5c17ed9fa7b0fbd65d70e5d71ae">bfindreplace</a></div><div class="ttdeci">int bfindreplace(bstring b, const_bstring find, const_bstring repl, int pos)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01700">__bstrlib.c:1700</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a8a40513f41a46edf0aacb72c790028a8"><div class="ttname"><a href="____bstrlib_8c.html#a8a40513f41a46edf0aacb72c790028a8">binstrrcaseless</a></div><div class="ttdeci">int binstrrcaseless(const_bstring b1, int pos, const_bstring b2)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01205">__bstrlib.c:1205</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a4bb4f276df0187508359004c911ca47b"><div class="ttname"><a href="____bstrlib_8c.html#a4bb4f276df0187508359004c911ca47b">bconcat</a></div><div class="ttdeci">int bconcat(bstring b0, const_bstring b1)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00318">__bstrlib.c:318</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a1639f09e544d664a0ed0ad266d92afd4"><div class="ttname"><a href="____bstrlib_8c.html#a1639f09e544d664a0ed0ad266d92afd4">bassignmidstr</a></div><div class="ttdeci">int bassignmidstr(bstring a, const_bstring b, int left, int len)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00473">__bstrlib.c:473</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a1687ff9302eab407d55394ff37d11a18"><div class="ttname"><a href="____bstrlib_8c.html#a1687ff9302eab407d55394ff37d11a18">bsbufflength</a></div><div class="ttdeci">int bsbufflength(struct bStream *s, int sz)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l01945">__bstrlib.c:1945</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_a76b49922309adf99d0580e02f9db38da"><div class="ttname"><a href="____bstrlib_8c.html#a76b49922309adf99d0580e02f9db38da">bltrimws</a></div><div class="ttdeci">int bltrimws(bstring b)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00722">__bstrlib.c:722</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_ab21dd77c743df60a682a720a8b981f24"><div class="ttname"><a href="____bstrlib_8c.html#ab21dd77c743df60a682a720a8b981f24">bconchar</a></div><div class="ttdeci">int bconchar(bstring b, char c)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00350">__bstrlib.c:350</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_ac019a14f62fd791c35ffd7b4362a1a56"><div class="ttname"><a href="____bstrlib_8c.html#ac019a14f62fd791c35ffd7b4362a1a56">bstrncmp</a></div><div class="ttdeci">int bstrncmp(const_bstring b0, const_bstring b1, int n)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00913">__bstrlib.c:913</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_aaa60afbe75d06825b7560551093e0e2c"><div class="ttname"><a href="____bstrlib_8c.html#aaa60afbe75d06825b7560551093e0e2c">bassignblk</a></div><div class="ttdeci">int bassignblk(bstring a, const void *s, int len)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l00534">__bstrlib.c:534</a></div></div>
<div class="ttc" id="____bstrlib_8c_html_afb6df5c0cec0f16cfc4a44ac46abfdbb"><div class="ttname"><a href="____bstrlib_8c.html#afb6df5c0cec0f16cfc4a44ac46abfdbb">bformat</a></div><div class="ttdeci">bstring bformat(const char *fmt,...)</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8c_source.html#l02886">__bstrlib.c:2886</a></div></div>
<div class="ttc" id="structtagbstring_html_ac24cea2bfcc927fd29bc74d1086707d8"><div class="ttname"><a href="structtagbstring.html#ac24cea2bfcc927fd29bc74d1086707d8">tagbstring::data</a></div><div class="ttdeci">unsigned char * data</div><div class="ttdef"><b>Definition:</b> <a href="____bstrlib_8h_source.html#l00193">__bstrlib.h:193</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_5116870a98769fcb7fa621a6c1aaaf2c.html">apifiles</a></li><li class="navelem"><a class="el" href="____bstrlib_8h.html">__bstrlib.h</a></li>
    <li class="footer">Generado el Martes, 30 de Septiembre de 2014 12:40:17 para Dinic por
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.5 </li>
  </ul>
</div>
</body>
</html>
